import React from "react";

interface Props {
    type: string;
    className?: string;
    style?: React.CSSProperties;
    onClick?: (event: React.MouseEvent<SVGSVGElement>) => void;
}

export default function GeekIcon({ type, className, onClick, style }: Props) {
    return (
        <svg className={className} onClick={onClick} style={style}>
            <use xlinkHref={`#${type}`}></use>
        </svg>
    );
}